package com.ruoyi.file.service;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

/*@iCAN SpringCloud-Alibaba OSS*/
@Service
public class AliyunOSSFileServiceImpl implements ISysFileService{

    //读取配置
    @Value("${spring.cloud.alicloud.access-key}")
    private String accessId;
    @Value("${spring.cloud.alicloud.secret-key}")
    private String accessKey;
    @Value("${spring.cloud.alicloud.oss.endpoint}")
    private String endpoint;
    @Value("${spring.cloud.alicloud.bucket-name}")
    private String bucket;

    @Override
    public String uploadFile(MultipartFile file) throws Exception {
        return null;
    }
}
